split a string in balanced strings Python

welcome to shbcf.ru